<template>
  <view>
    <view class="video-box">
    	<live-card :live="sampleLive" v-for="i in 5"></live-card>
    </view>
  </view>
</template>

<script setup>
import liveCard from '@/components/live-card/live-card.vue';

// 模拟直播数据
const sampleLive = {
  id: 1,
  cover: '/static/image/goods/1.jpeg',
  viewerCount: 1234,
  anchorAvatar: '/static/image/goods/2.jpeg',
  anchorName: '老冯家牛肉粉馆',
  title: '这是一场精彩的直播标题'
};
</script>

<style lang="scss" scoped>
.video-box {
  padding: 20rpx;
}
</style>